import { useNavigate } from "react-router-dom";

export default function Home() {
  const routre = useNavigate();

  return (
    <>
      <button onClick={() => routre("/my", { replace: true })}> home </button>
      <div>Home</div>
    </>
  );
}
